home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4684 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.5 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: VC++ 2.0 Console App. (NT)
  5. Date: 31 Jan 1996 17:32:23 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4eo937$lgo@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe4.h1.usa.pipeline.com
  9. X-PipeUser: grantp
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (Pete)
  12. X-Newsreader: Pipeline USA v3.3.0
  13.  
  14. On Jan 30, 1996 18:44:34 in article <VC++ 2.0 Console App. (NT)>, 'Jim
  15. Dolan <dolan>' wrote: 
  16.  
  17.  
  18. >Hello, 
  19. >I've got a quick question for anyone using Visual C++ 2.0 under NT.  I'm
  20. just 
  21. >writing some simple utility routines for school. When I build a WinRelease
  22.  
  23. >version of the code and run it from a console window it works fine as long
  24. as 
  25. >I'm in the same directory as the executable or if I explicitly put the
  26. path to 
  27. >the executable on the command line.  If I place the executable in my path
  28. and 
  29. >reference it, I get a blurb saying something about a bat file could not be
  30.  
  31. >found. What's a batch file got to do with this? who knows.  Anybody else
  32. run 
  33. >into this and know how to create a true standalone Console Application? 
  34.  
  35. 1. 
  36. Chances are that there is a .bat file by the same name as your executable 
  37. somewhere in your search path.   Look for it.  Then try renaming your 
  38. executable and see if you get the same behavior.  
  39.  
  40. 2. 
  41. What's the name of your executable?  Is it the same as one of the  
  42. ystem's commands? 
  43.  
  44. -- 
  45. Pete Grant 
  46. Kalevi, Inc. 
  47. Object Oriented Software Development
  48.